package com.example.newstudent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.newstudent.entity.student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface studentDao extends BaseMapper<student> {
    @Select("SELECT time FROM student where status=1")
    List<LocalDateTime> selectByTime();
    @Select("SELECT academy FROM student ")
    List<String> academy();
}
